using System;
using System.Reflection;
using System.Collections.Generic;
using System.Windows.Forms;
using GuavaData;

namespace CORIDemo
{
    static class Program
    {
        
        private static string source = "MEH\\ABOMINABLE";
        public static void set_source(string s)
        {
            source = s;
        }
        private static string catalog = "guava";
        public static void set_catalog(string s)
        {
            catalog = s;
        }
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        public static void Main()
        {
            DBConnection.Provider = "MSSQL";
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Lobby t = new Lobby();
            Guid g = new Guid();
            AppData.Init(t, g, Assembly.GetEntryAssembly().Location, source, catalog, AppChannel.GetChannel());
            Application.Run(new Lobby(g, new Guid(), false, null));
        }
    }
}